<!DOCTYPE html>
<html lang="en">
<head>
    {{include file="lib/page_head" /}}
    <link href="../css/jquery.gritter.css" rel="stylesheet">
    <link href="../css/f.dialog.css" rel="stylesheet">
</head>

<body>



<!-- Preloader -->
<div id="preloader">
    <div id="status"><i class="fa fa-spinner fa-spin"></i></div>
</div>

<section>
    {{include file="lib/page_left" /}}
    <div class="mainpanel">

        {{include file="lib/page_header" /}}



        <div class="contentpanel" >
            <div class="panel panel-default">
                <div class="panel-heading">
                    <div class="panel-btns">
                        <a href="" class="panel-close">×</a>
                        <a href="" class="minimize">−</a>
                    </div>
                    <h4 class="panel-title">企业信息</h4>
                </div>
                <div class="panel-body ">
                    <div id="info_list" class="form-inline">
                        <div class="btn-group">
                            <!--<button class="btn btn-primary" onclick="edit_info(0)">添加</button>-->
                            <!--<button class="btn btn-primary" onclick="del_info(0)">删除</button>-->
                            <!--<button class="btn btn-primary" onclick="set_cancel(0)">取消</button>-->
                            <button class="btn btn-primary" onclick="location.href = location.href;">刷新</button>
                        </div>
                    </div>
                    <div style="border: 1px solid #e7e7e7;">
                        <div class="panel-group panel-group-dark" id="accordion">
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h4 class="panel-title">
                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" class="">
                                            企业信息
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapseOne" class="panel-collapse collapse in" style="">
                                    <div class="panel-body">
                                        {{if $info }}
                                        <div >

                                            <div class="col-sm-6">
                                                <div class="form-group">
                                                    <label class="control-label">名称</label>
                                                    <input type="text" name="name" class="form-control" value="{{$info.name}}" disabled>
                                                </div>
                                            </div><!-- col-sm-6 -->
                                            <div class="col-sm-6">
                                                <div class="form-group">
                                                    <label class="control-label">联系人</label>
                                                    <input type="text" name="real_name" class="form-control" value="{{$info.real_name}}" disabled>
                                                </div>
                                            </div><!-- col-sm-6 -->
                                        </div>
                                            <div >

                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="control-label">余额</label>
                                                        <input type="text" name="balance" class="form-control" value="{{$info.balance/100|sprintf='%.2f',###}}" disabled>
                                                    </div>
                                                </div><!-- col-sm-6 -->
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="control-label">柴油折扣率</label>
                                                        <input type="text" name="discount" class="form-control" value="{{$info.discount/10000}}" disabled>
                                                    </div>
                                                </div><!-- col-sm-6 -->
                                            </div>

                                        {{/if}}
                                    </div>

                                </div>
                                </div>
                            </div>

                        </div>
                    </div>

                </div>
            </div>
        </div><!-- contentpanel -->

    </div><!-- mainpanel -->
    {{include file="lib/page_right" /}}


</section>

<script src="../js/jquery-1.11.1.min.js"></script>
<script src="../js/jquery-migrate-1.2.1.min.js"></script>
<script src="../js/jquery-ui-1.10.3.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.sparkline.min.js"></script>
<script src="../js/toggles.min.js"></script>
<script src="../js/jquery.cookies.js"></script>
<script src="../js/jquery.tmpl.js"></script>
<script src="../js/custom.js"></script>
<script src="../layui/layui.js"></script>
<script src="../js/jquery.gritter.min.js"></script>
<script src="../js/form.beautify.js?t={{$version}}"></script>
<link href="../css/ley.dialog.css" rel="stylesheet">
<script src="../js/ley.dialog.js?t={{$version}}"></script>


</body>
</html>
